package org.hzero.gateway.helper.entity;

/**
 * 校验请求的包装类,包含了 token uri 方法名
 * @description
 * @since 1.0
 * @version 1.0
 * @author tianhao.luo@hand-china.com
 * @date 2022/1/10 10:16 下午
 */
public class CheckRequest {

    // 认证 token
    public final String accessToken;

    // 请求的 uri
    public final String uri;

    // 请求的方法名
    public final String method;


    public CheckRequest(String accessToken, String uri, String method) {
        this.accessToken = accessToken;
        this.uri = uri;
        this.method = method;
    }

    @Override
    public String toString() {
        return "CheckRequest{" +
                "accessToken='" + accessToken + '\'' +
                ", uri='" + uri + '\'' +
                ", method='" + method + '\'' +
                '}';
    }

}
